<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/sys.tld" prefix="sys" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<style type="text/css">
</style>
<jsp:include page="/WEB-INF/views/import.jsp" flush="true" />
</head>

<body class="iframeBody">
	<div class="Wrapper">
		<div>
			<div id="pageInTab" class="pageInTab">
				<div tabid="base" title="账户基本信息" lselected="true">
					<iframe frameborder="0" id="base" name="base" 
						src="<%=path%>/account/fncGroupCompanyAccount/toFlowTab.do?${p}"></iframe>
				</div>
				
				<c:if test="${param.flowType =='openAccount'}">
					<div tabid="open" title="开户信息">
						<iframe frameborder="0" id="open" name="open" 
							src="<%=path%>/account/fncGroupCompanyAccount/toFlowTab.do?from=open&${p}"></iframe>
					</div>
				</c:if>
				
				<c:if test="${param.flowType =='closeAccount'}">
					<div tabid="cancel" title="销户信息">
						<iframe frameborder="0" id="cancel" name="cancel" 
							src="<%=path%>/account/fncGroupCompanyAccount/toFlowTab.do?from=cancel&${p}"></iframe>
					</div>
				</c:if>
			</div>
		</div>
	</div>

	<script>
    
    var pageInApp={}; 
    $(function() {
        pageInTab = $("#pageInTab").ligerTab({
            height: 'auto',
            contextmenu: false,
            minIframeHeight: GET_minIframeHeight(),
            onAfterSelectTabItem: function(tabid) {
            	pageInTab.reload(tabid);
                if (parent && parent.mainApp) parent.mainApp.parentTab.onResize();
            }
        });

        $.extend(true, pageInApp, {
            pageInTab: pageInTab
        });
    })
    </script>
</body>

</html>
